#ifndef ACCFOCUS_H
#define ACCFOCUS_H

#include <QLineEdit>

class AccFocus : public QLineEdit
{
    Q_OBJECT
public:
    AccFocus(QWidget* parent=nullptr);
    ~AccFocus();
signals:
    void focusChanged(bool hasFocus);
protected:
    void focusInEvent(QFocusEvent *event)override;
    void focusOutEvent(QFocusEvent *event)override;
};

#endif // ACCFOCUS_H
